<div class="layui-container fly-marginTop fly-user-main">
    {include file='common/Usermenu'/}

   <!-- 移动端按钮 -->
   <div class="site-tree-mobile layui-hide">
    <i class="layui-icon">&#xe602;</i>
  </div>
  <div class="site-mobile-shade"></div>
  
  <div class="site-tree-mobile layui-hide">
    <i class="layui-icon">&#xe602;</i>
  </div>
  <div class="site-mobile-shade"></div>

    <div class="fly-panel fly-panel-user" pad20>
        <!--
        <div class="fly-msg" style="margin-top: 15px;">
          您的邮箱尚未验证，这比较影响您的帐号安全，<a href="activate.html">立即去激活？</a>
        </div>
        -->
        <div class="layui-tab layui-tab-brief" lay-filter="user">
          <ul class="layui-tab-title" id="LAY_mine">
          <li data-type="mine-jie" lay-id="index" class="layui-this">我发的帖（<span>{$postssun}</span>）</li>
          </ul>
          <div class="layui-tab-content" style="padding: 20px 0;">
            <div class="layui-tab-item layui-show">
              <ul class="mine-view jie-row">
                {foreach($posts as $item)}
                <li>
                    <a class="jie-title" href="{:url('home/index/info', ['postid' => $item['id']])}" target="_blank">{$item.title}</a>
                    <i>发帖时间2020.12.1</i>
                    <a class="mine-edit" href="{:url('home/post/edit', ['postid' => $item['id']])}">编辑</a>
                    <em>评论量1 访问量50</em>
                  </li>
                {/foreach}
            </ul>
            <div id="LAY_page">{$pagestr}</div>
            </div>
          </div>
        </div>
      </div>
    
</div>
